package hang.xipujewelWeb.web.account;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
@RequestMapping(value = "/index")
public class IndexController {

	//	@Autowired
	//	private UserManager userManager;

	@RequestMapping(value = "toIndex", method = RequestMethod.GET)
	public String index(Model model) {
		/*String loginName = UserUtil.getCurrentUserLoginName();
		User user = userManager.findByLoginNameAndType01(loginName);
		model.addAttribute("cUser", user);*/
		return "index";
	}

}
